home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000414_rgibbens@redskytech.com_Tue Oct 1 15:18:23 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
1KB
|
41 lines
Article: 13750 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail
From: "Robert Gibbens" <rgibbens@redskytech.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Return Value from User Defined Function
Date: Tue, 1 Oct 2002 14:48:52 -0400
Organization: Michigan State University
Lines: 23
Message-ID: <ancqme$2980$1@msunews.cl.msu.edu>
NNTP-Posting-Host: 208.48.6.2
X-AUTHid: gibbensr
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13750
How would I go about evaluating the return value from a User defined
function?
For example, I have the function
DEFINE mlChangePassword {
(Do something)
IF FAILURE {
return 1
}
else
{
return 0
}
}
and I would like to call it and check whether it returned a 0 or a 1
(Success/Failure) so that I can decide what to do next.
Thanks,
Robert Gibbens
rgibbens@redskytech.com